- page_title _('Chat')
- @hide_search_settings = true
- @force_desktop_expanded_sidebar = true

.row.gl-mt-5.js-search-settings-section
  .col-lg-4.profile-settings-sidebar
    %h4.gl-mt-0
      = page_title
    %p
      = _('You can see your chat accounts.')

  .col-lg-8
    %h5.gl-mt-0
      = sprintf(_('Active chat names (%{count})'), { count: @chat_names.size })

    - if @chat_names.present?
      .table-responsive
        %table.table
          %thead
            %tr
              %th= _('Team domain')
              %th= _('Nickname')
              %th= _('Last used')
              %th
          %tbody
            = render @chat_names

    - else
      .settings-message.text-center
        = _("You don't have any active chat names.")
